package com.douing.ad.dsp.bidding.listener;

import com.douing.ad.dsp.bidding.rtb.TxtUtil;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import java.io.IOException;

/**
 * Application Lifecycle Listener implementation class InitIistener
 *
 */
public class InitListener implements ServletContextListener {



    /**
     * @see ServletContextListener#contextDestroyed(ServletContextEvent)
     */
    @Override
    public void contextDestroyed(ServletContextEvent sce)  { 
         // TODO Auto-generated method stub
    }

    /**
     * @see ServletContextListener#contextInitialized(ServletContextEvent)
     */
    @Override
    public void contextInitialized(ServletContextEvent sce)  { 
        try {
            TxtUtil.poiTXT2007();
        } catch (IOException e) {
            e.printStackTrace();
        }
        System.out.println("初始化启动了========");
    }
    
}
